﻿using System;
using System.ComponentModel;
using Integrity;
using IntegrityNsp;

namespace UnitTests
{
  class LoggableBase : LoggableObject, IIntegrityObject
  {
    public void OnReleased()
    {
      AutoLog();
    }

    public void OnPropertyChanged(PropertyChangedEventArgs e)
    {
      AutoLog(e.PropertyName);
    }
  }
}